/*
* Copyright 2016 Yonyou Auto Information Technology（Shanghai） Co., Ltd. All Rights Reserved.
*
* This software is published under the terms of the YONYOU Software
* License version 1.0, a copy of which has been included with this
* distribution in the LICENSE.txt file.
*
* @Project Name : marketing-common
*
* @File name : ResultMsgConstants.java
*
* @Author : WangHuicheng
*
* @Date : 2016年11月18日
*
----------------------------------------------------------------------------------
*     Date       Who       Version     Comments
* 1. 2016年11月18日    WangHuicheng    1.0
*
*
*
*
----------------------------------------------------------------------------------
*/
	
package org.marketing.common.constants;


/**
*
* 返回结果集定义
* @author WangHuicheng
* @date 2016年11月18日
*/

public class ResultMsgConstants {
    public static final String RESULT_MSG_CODE = "code";
    public static final String RESULT_MESSAGE = "message";
    public static final String RESULT_MSG_CODE_SUCCESS = "50";
    public static final String RESULT_MSG_CODE_ERROR = "0";
    public static final String RESULT_DATA = "data";
    
    public static final short REQUEST_SCOPE = 0;
    
    public static final short SESSION_SCOPE = 1;
    
    public static final short APPLICATION_SCOPE = 2;
    
    public static final String ERR_CODE = "errCode";
    
    public static final String RESULT_CODE = "resultCode";
    
    public static final String QUERY_DATA = "data";
    
    public static final String ERR_MSG = "errMsg";
    
    public static final String TOTAL = "total";
    
    public static final Integer RESULT_CODE_SUCCESS =1;
    public static final Integer RESULT_CODE_ERROR =0;
    /**积分不足返回Code*/
    public static final int RESULT_CODE_POINTS =2;
    
    /**业务异常返回状态*/
    public static final String RESULT_FLAG ="flag";
    public static final int RESULT_FLAG_SUCCESS =1;
    public static final int RESULT_FLAG_ERROR =0;
    
    public static final String APP_RESULT_CODE_SUCCESS ="1";
    public static final String APP_RESULT_CODE_ERROR ="0";
    
    public static final String PAY_MSG_CODE_SUCCESS = "S";
    public static final String PAY_MSG_CODE_ERROR = "E";

}
